namespace IAM.Interface.Common.Context
{
    using System;

    public class ResponseContextModel
    {
        private int _encryptType;
        private string _key;
        private string _sign;
        private string _xml;

        public ResponseContextModel(int encryptType, string key, string xml)
        {
            this._encryptType = 0;
            this._key = "";
            this._xml = "";
            this._sign = "";
            this._encryptType = encryptType;
            this._key = key;
            this._xml = xml;
        }

        public ResponseContextModel(string sign, int encryptType, string key, string xml)
        {
            this._encryptType = 0;
            this._key = "";
            this._xml = "";
            this._sign = "";
            this._sign = sign;
            this._encryptType = 0;
            this._key = key;
            this._xml = xml;
        }

        public int EncryptType
        {
            get
            {
                return this._encryptType;
            }
            set
            {
                this._encryptType = value;
            }
        }

        public string Key
        {
            get
            {
                return this._key;
            }
            set
            {
                this._key = value;
            }
        }

        public string Sign
        {
            get
            {
                return this._sign;
            }
            set
            {
                this._sign = value;
            }
        }

        public string XML
        {
            get
            {
                return this._xml;
            }
            set
            {
                this._xml = value;
            }
        }
    }
}

